﻿using System;
using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.OfficeArt
{
    internal struct RECT
    {
        private int left;
        private int top;
        private int right;
        private int bottom;

        public void Read(BinaryReader reader)
        {
            this.left = reader.ReadInt32();
            this.top = reader.ReadInt32();
            this.right = reader.ReadInt32();
            this.bottom = reader.ReadInt32();
        }
        public void Write (BinaryWriter writer)
        {
            writer.Write(left);
            writer.Write(top);
            writer.Write(right);
            writer.Write(bottom);
        }
    }
}